package com.wonders.hisdoctor.station.project.examine.service;

import com.wonders.hisdoctor.station.project.base.domain.OutpTreatRec;
import com.wonders.hisdoctor.station.project.examine.vo.*;

import java.util.List;

/**
 * 检查申请service实现
 *
 * @author zhanghaonan
 * <p>
 * Create: 2021-02-04
 */
public interface IExamineService {

    /**
     * 查询检查申请项目菜单
     *
     * @param hospitalCode
     * @return
     */
    List<ExamineMenuVo> selectCheckMenu(String hospitalCode);

    /**
     * 查询检查申请
     *
     * @param vo
     * @return
     */
    List<ExamItemsVo> selectItemList(ExamItemsRequestVo vo);

    /**
     * 提交检查申请(保存)
     *
     * @param vo
     * @return
     */
    int save(ExamineSaveVo vo);

    /**
     * 查询检查申请单
     *
     * @param vo
     * @return
     */
    List<OutpTreatRecVo> selectOutpTreatRec(ExamineRequestVo vo);

    /**
     * 删除检查申请项目
     *
     * @param list
     * @return
     */
    int deleteOutpTreatRec(List<OutpTreatRec> list);

    /**
     * 查询历史检查申请
     *
     * @param vo
     * @return
     */
    List<OutpTreatRecVo> selectExamineHistory(ExamineHistoryRequestVo vo);

    /**
     * 检查申请打印查询
     *
     * @param list
     * @return
     */
    List<PrintExamineVo> selectPrintExamine(List<OutpTreatRecVo> list);

    /**
     * 保存并打印
     *
     * @param vo
     * @return
     */
    List<PrintExamineVo> saveAndPrint(ExamineSaveVo vo);
}
